package com.cc.blog;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author cc
 * @Date 2023/10/16 10:45
 */
@SpringBootApplication
@ComponentScan({"com.cc.blog.*"})
@EnableScheduling // 启用定时任务
public class BlogWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(BlogWebApplication.class, args);
    }
}
